package com.java47.pojo;

import java.io.Serializable;

public class Item implements Serializable {
    private String id;
    private String uid;
    private String sid;
    private String oid;

    public Item(){}

    public Item(String id, String uid, String sid, String oid) {
        this.id = id;
        this.uid = uid;
        this.sid = sid;
        this.oid = oid;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getOid() {
        return oid;
    }

    public void setOid(String oid) {
        this.oid = oid;
    }

    @Override
    public String toString() {
        return "Item{" +
                "id='" + id + '\'' +
                ", uid='" + uid + '\'' +
                ", sid='" + sid + '\'' +
                ", oid='" + oid + '\'' +
                '}';
    }

    public Item(String sid, String oid) {
        this.sid = sid;
        this.oid = oid;
    }

    public Item(String uid, String sid, String oid) {
        this.uid = uid;
        this.sid = sid;
        this.oid = oid;
    }
}
